Apparatus, system and method of determining one or more optical parameters of a lens

ABSTRACT

Some demonstrative embodiments include apparatuses, systems and/or methods of determining one or more optical parameters of a lens of eyeglasses. For example, a product may include one or more tangible computer-readable non-transitory storage media including computer-executable instructions operable to, when executed by at least one computer processor, enable the at least one computer processor to implement operations of determining one or more optical parameters of a lens of eyeglasses, The operations may include processing at least one image of an object captured via the lens; and determining the one or more optical parameters of the lens based on the at least one image.

CROSS REFERENCE

This Application claims the benefit of and priority from U.S.Provisional Patent Application No. 62/159,295 entitled “APPARATUS,SYSTEM AND METHOD OF DETERMINING ONE OR MORE OPTICAL PARAMETERS OF ALENS”, filed May 10, 2015, U.S. Provisional Patent Application No.62/216,757 entitled “APPARATUS, SYSTEM AND METHOD OF DETERMINING ONE ORMORE OPTICAL PARAMETERS OF A LENS”, filed Sep. 10, 2015, and U.S.Provisional Patent Application No. 62/286,331 entitled “APPARATUS,SYSTEM AND METHOD OF DETERMINING ONE OR MORE OPTICAL PARAMETERS OF ALENS”, filed Jan. 23, 2016, the entire disclosures of all of which areincorporated herein by reference.

TECHNICAL FIELD

Embodiments described herein generally relate to determining one or moreoptical parameters of a lens.

BACKGROUND

Eyeglasses and/or prescription eyeglasses may include lenses assembledin a frame of the eyeglasses.

The lenses may have one or more optical parameters. The opticalparameters of a lens may include, for example, a spherical power, acylindrical power and/or a cylindrical axis.

Determining the spherical power, the cylindrical power, and/or thecylindrical axis of the lens may be useful, for example, if a user ofthe eyeglasses wishes to duplicate the eyeglasses and/or to producespare lenses for the eyeglasses.

BRIEF DESCRIPTION OF THE DRAWINGS

For simplicity and clarity of illustration, elements shown in thefigures have not necessarily been drawn to scale. For example, thedimensions of some of the elements may be exaggerated relative to otherelements for clarity of presentation. Furthermore, reference numeralsmay be repeated among the figures to indicate corresponding or analogouselements. The figures are listed below.

FIG. 1 is a schematic block diagram illustration of a system, inaccordance with some demonstrative embodiments.

FIG. 2 is a schematic flow-chart illustration of a method of capturingan image via a lens using an autofocus (AF), in accordance with somedemonstrative embodiments.

FIG. 3 is a schematic flow-chart illustration of a method of determininga power of a lens based on autofocus information, in accordance withsome demonstrative embodiments.

FIG. 4 is a schematic flow-chart illustration of a method of determininga power of a lens, in accordance with some demonstrative embodiments.

FIG. 5 is a schematic flow-chart illustration of a method of detecting acylindrical lens and determining the axis of the cylindrical lens, inaccordance with some demonstrative embodiments.

FIG. 6 is a schematic illustration of a plurality of captured images ofan object, in accordance with some demonstrative embodiments.

FIG. 7 is a schematic flow-chart illustration of a method of detecting acylindrical lens and determining the axis of the cylindrical lens, inaccordance with some demonstrative embodiments.

FIG. 8 is a schematic illustration of captured images useful incylindrical axis identification, in accordance with some demonstrativeembodiments.

FIG. 9 is a schematic flow-chart illustration of a method of determininga power of a lens, in accordance with some demonstrative embodiments.

FIG. 10 is a schematic flow-chart illustration of a method ofdetermining a sign of a lens, in accordance with some demonstrativeembodiments.

FIG. 11 is a schematic flow-chart illustration of a method ofdetermining a pupillary distance between a pair of lenses of eyeglasses,in accordance with some demonstrative embodiments.

FIG. 12 is a schematic illustration of a graphical display of an object,in accordance with some demonstrative embodiments.

FIG. 13 is a schematic illustration of a graph depicting a distance ofan object versus contrast, in accordance with some demonstrativeembodiments.

FIG. 14 is a schematic illustration of a system to calibrate a displaysize of a display device, in accordance with some demonstrativeembodiments.

FIG. 15 is a schematic flow-chart illustration of a method ofdetermining one or more optical parameters of a lens, in accordance withsome demonstrative embodiments.

FIG. 16 is a schematic illustration of a product, in accordance withsome demonstrative embodiments.

DETAILED DESCRIPTION

In the following detailed description, numerous specific details are setforth in order to provide a thorough understanding of some embodiments.However, it will be understood by persons of ordinary skill in the artthat some embodiments may be practiced without these specific details.In other instances, well-known methods, procedures, components, unitsand/or circuits have not been described in detail so as not to obscurethe discussion.

Some portions of the following detailed description are presented interms of algorithms and symbolic representations of operations on databits or binary digital signals within a computer memory. Thesealgorithmic descriptions and representations may be the techniques usedby those skilled in the data processing arts to convey the substance oftheir work to others skilled in the art.

An algorithm is here, and generally, considered to be a self-consistentsequence of acts or operations leading to a desired result. Theseinclude physical manipulations of physical quantities. Usually, thoughnot necessarily, these quantities take the form of electrical ormagnetic signals capable of being stored, transferred, combined,compared, and otherwise manipulated. It has proven convenient at times,principally for reasons of common usage, to refer to these signals asbits, values, elements, symbols, characters, terms, numbers or the like.It should be understood, however, that all of these and similar termsare to be associated with the appropriate physical quantities and aremerely convenient labels applied to these quantities.

Discussions herein utilizing terms such as, for example, “processing”,“computing”, “calculating”, “determining”, “establishing”, “analyzing”,“checking”, or the like, may refer to operation(s) and/or process(es) ofa computer, a computing platform, a computing system, or otherelectronic computing device, that manipulate and/or transform datarepresented as physical (e.g., electronic) quantities within thecomputer's registers and/or memories into other data similarlyrepresented as physical quantities within the computer's registersand/or memories or other information storage medium that may storeinstructions to perform operations and/or processes.

The terms “plurality” and “a plurality”, as used herein, include, forexample, “multiple” or “two or more”. For example, “a plurality ofitems” includes two or more items.

References to “one embodiment”, “an embodiment”, “demonstrativeembodiment”, “various embodiments” etc., indicate that the embodiment(s)so described may include a particular feature, structure, orcharacteristic, but not every embodiment necessarily includes theparticular feature, structure, or characteristic. Further, repeated useof the phrase “in one embodiment” does not necessarily refer to the sameembodiment, although it may.

As used herein, unless otherwise specified the use of the ordinaladjectives “first”, “second”, “third” etc., to describe a common object,merely indicate that different instances of like objects are beingreferred to, and are not intended to imply that the objects so describedmust be in a given sequence, either temporally, spatially, in ranking,or in any other manner.

Some embodiments, for example, may take the form of an entirely hardwareembodiment, an entirely software embodiment, or an embodiment includingboth hardware and software elements. Some embodiments may be implementedin software, which includes but is not limited to firmware, residentsoftware, microcode, or the like.

Furthermore, some embodiments may take the form of a computer programproduct accessible from a computer-usable or computer-readable mediumproviding program code for use by or in connection with a computer orany instruction execution system. For example, a computer-usable orcomputer-readable medium may be or may include any apparatus that cancontain, store, communicate, propagate, or transport the program for useby or in connection with the instruction execution system, apparatus, ordevice.

In some demonstrative embodiments, the medium may be an electronic,magnetic, optical, electromagnetic, infrared, or semiconductor system(or apparatus or device) or a propagation medium. Some demonstrativeexamples of a computer-readable medium may include a semiconductor orsolid state memory, magnetic tape, a removable computer diskette, arandom access memory (RAM), a read-only memory (ROM), a FLASH memory, arigid magnetic disk, and an optical disk. Some demonstrative examples ofoptical disks include compact disk—read only memory (CD-ROM), compactdisk—read/write (CD-R/W), and DVD.

In some demonstrative embodiments, a data processing system suitable forstoring and/or executing program code may include at least one processorcoupled directly or indirectly to memory elements, for example, througha system bus. The memory elements may include, for example, local memoryemployed during actual execution of the program code, bulk storage, andcache memories which may provide temporary storage of at least someprogram code in order to reduce the number of times code must beretrieved from bulk storage during execution.

In some demonstrative embodiments, input/output or I/O devices(including but not limited to keyboards, displays, pointing devices,etc.) may be coupled to the system either directly or throughintervening I/O controllers. In some demonstrative embodiments, networkadapters may be coupled to the system to enable the data processingsystem to become coupled to other data processing systems or remoteprinters or storage devices, for example, through intervening private orpublic networks. In some demonstrative embodiments, modems, cable modemsand Ethernet cards are demonstrative examples of types of networkadapters. Other suitable components may be used.

Some embodiments may include one or more wired or wireless links, mayutilize one or more components of wireless communication, may utilizeone or more methods or protocols of wireless communication, or the like.Some embodiments may utilize wired communication and/or wirelesscommunication.

Some embodiments may be used in conjunction with various devices andsystems, for example, a mobile phone, a Smartphone, a mobile computer, alaptop computer, a notebook computer, a tablet computer, a handheldcomputer, a handheld device, a Personal Digital Assistant (PDA) device,a handheld PDA device, a mobile or portable device, a non-mobile ornon-portable device, a cellular telephone, a wireless telephone, adevice having one or more internal antennas and/or external antennas, awireless handheld device, or the like.

Reference is now made to FIG. 1, which schematically illustrates a blockdiagram of a system 100, in accordance with some demonstrativeembodiments.

As shown in FIG. 1, in some demonstrative embodiments system 100 mayinclude a device 102.

In some demonstrative embodiments, device 102 may be implemented usingsuitable hardware components and/or software components, for example,processors, controllers, memory units, storage units, input units,output units, communication units, operating systems, applications, orthe like.

In some demonstrative embodiments, device 102 may include, for example,a computing device, a mobile phone, a Smartphone, a Cellular phone, anotebook, a mobile computer, a laptop computer, a notebook computer, atablet computer, a handheld computer, a handheld device, a PDA device, ahandheld PDA device, a wireless communication device, a PDA device whichincorporates a wireless communication device, or the like.

In some demonstrative embodiments, device 102 may include, for example,one or more of a processor 191, an input unit 192, an output unit 193, amemory unit 194, and/or a storage unit 195. Device 102 may optionallyinclude other suitable hardware components and/or software components.In some demonstrative embodiments, some or all of the components of oneor more of device 102 may be enclosed in a common housing or packaging,and may be interconnected or operably associated using one or more wiredor wireless links In other embodiments, components of one or more ofdevice 102 may be distributed among multiple or separate devices.

In some demonstrative embodiments, processor 191 may include, forexample, a Central Processing Unit (CPU), a Digital Signal Processor(DSP), one or more processor cores, a single-core processor, a dual-coreprocessor, a multiple-core processor, a microprocessor, a hostprocessor, a controller, a plurality of processors or controllers, achip, a microchip, one or more circuits, circuitry, a logic unit, anIntegrated Circuit (IC), an Application-Specific IC (ASIC), or any othersuitable multi-purpose or specific processor or controller. Processor191 may execute instructions, for example, of an Operating System (OS)of device 102 and/or of one or more suitable applications.

In some demonstrative embodiments, input unit 192 may include, forexample, a keyboard, a keypad, a mouse, a touch-screen, a touch-pad, atrack-ball, a stylus, a microphone, or other suitable pointing device orinput device. Output unit 193 may include, for example, a monitor, ascreen, a touch-screen, a flat panel display, a Light Emitting Diode(LED) display unit, a Liquid Crystal Display (LCD) display unit, aplasma display unit, one or more audio speakers or earphones, or othersuitable output devices.

In some demonstrative embodiments, memory unit 194 includes, forexample, a Random Access Memory (RAM), a Read Only Memory (ROM), aDynamic RAM (DRAM), a Synchronous DRAM (SD-RAM), a flash memory, avolatile memory, a non-volatile memory, a cache memory, a buffer, ashort term memory unit, a long term memory unit, or other suitablememory units. Storage unit 195 may include, for example, a hard diskdrive, a floppy disk drive, a Compact Disk (CD) drive, a CD-ROM drive, aDVD drive, or other suitable removable or non-removable storage units.Memory unit 194 and/or storage unit 195, for example, may store dataprocessed by device 102.

In some demonstrative embodiments, device 102 may be configured tocommunicate with one or more other devices via a wireless and/or wirednetwork 103.

In some demonstrative embodiments, network 103 may include a wirednetwork, a local area network (LAN), a wireless LAN (WLAN) network, aradio network, a cellular network, a Wireless Fidelity (WiFi) network,an IR network, a Bluetooth (BT) network, and the like.

In some demonstrative embodiments, device 102 may allow one or moreusers to interact with one or more processes, applications and/ormodules of device 102, e.g., as described herein.

In some demonstrative embodiments, device 102 may be configured toperform and/or to execute one or more operations, modules, processes,procedures and/or the like.

In some demonstrative embodiments, device 102 may be configured todetermine a one or more optical parameters of a lens of eyeglasses,e.g., provided by a user of device 102, e.g., as described below.

In some demonstrative embodiments, system 100 may be configured toperform lensmeter or lensometer analysis of the lens of the eyeglasses,for example, even without using any auxiliary optical means, e.g., asdescribed below.

In some demonstrative embodiments, the one or more optical parameters ofthe lens may include a spherical power, a cylindrical power and/or acylindrical axis of the lens.

In some demonstrative embodiments, the one or more optical parameters ofthe lens may include a pupillary distance between a pair of lensesassembled in a frame of the eyeglasses.

In some demonstrative embodiments, system 100 may be configured toanalyze a focal power of a spherical lens, a focal power and an axis ofa cylindrical lens, and/or a distance between the centers of two lensesassembled in a frame of the eyeglasses, e.g., as described below.

In some demonstrative embodiments, system 100 may include at least oneservice, module, controller, and/or application 160 configured todetermine the one or more optical parameters of the lens of the user ofdevice 102, e.g., as described below.

In some demonstrative embodiments, application 160 may include, or maybe implemented as, software, a software module, an application, aprogram, a subroutine, instructions, an instruction set, computing code,words, values, symbols, and the like.

In some demonstrative embodiments, application 160 may include a localapplication to be executed by device 102. For example, memory unit 194and/or storage unit 195 may store instructions resulting in application160, and/or processor 191 may be configured to execute the instructionsresulting in application 160, e.g., as described below.

In other embodiments, application 160 may include a remote applicationto be executed by any suitable computing system, e.g., a server 170.

In some demonstrative embodiments, server 170 may include at least aremote server, a web-based server, a cloud server, and/or any otherserver.

In some demonstrative embodiments, the server 170 may include a suitablememory and/or storage unit 174 having stored thereon instructionsresulting in application 160, and a suitable processor 171 to executethe instructions, e.g., as descried below.

In some demonstrative embodiments, application 160 may include acombination of a remote application and a local application.

In one example, application 160 may be downloaded and/or received by theuser of device 102 from another computing system, e.g., server 170, suchthat application 160 may be executed locally by users of device 102. Forexample, the instructions may be received and stored, e.g., temporarily,in a memory or any suitable short-term memory or buffer of device 102,e.g., prior to being executed by processor 191 of device 102.

In another example, application 160 may include a front-end to beexecuted locally by device 102, and a backend to be executed by server170. For example, one or more first operations of determining the one ormore optical parameters of the lens of the user may be performedlocally, for example, by device 102, and/or one or more secondoperations of determining the one or more optical parameters may beperformed remotely, for example, by server 170, e.g., as describedbelow.

In other embodiments, application 160 may include any other suitablecomputing arrangement and/or scheme.

In some demonstrative embodiments, system 100 may include an interface110 to interface between a user of device 102 and one or more elementsof system 100, e.g., application 160.

In some demonstrative embodiments, interface 110 may be implementedusing any suitable hardware components and/or software components, forexample, processors, controllers, memory units, storage units, inputunits, output units, communication units, operating systems, and/orapplications.

In some embodiments, interface 110 may be implemented as part of anysuitable module, system, device, or component of system 100.

In other embodiments, interface 110 may be implemented as a separateelement of system 100.

In some demonstrative embodiments, interface 110 may be implemented aspart of device 102. For example, interface 110 may be associated withand/or included as part of device 102.

In one example, interface 110 may be implemented, for example, asmiddleware, and/or as part of any suitable application of device 102.For example, interface 110 may be implemented as part of application 160and/or as part of an OS of device 102.

In some demonstrative embodiments, interface 160 may be implemented aspart of server 170. For example, interface 110 may be associated withand/or included as part of server 170.

In one example, interface 110 may include, or may be part of a Web-basedapplication, a web-site, a web-page, a plug-in, an ActiveX control, arich content component (e.g., a Flash or Shockwave component), or thelike.

In some demonstrative embodiments, interface 110 may be associated withand/or may include, for example, a gateway (GW) 112 and/or anapplication programming interface (API) 114, for example, to communicateinformation and/or communications between elements of system 100 and/orto one or more other, e.g., internal or external, parties, users,applications and/or systems.

In some embodiments, interface 110 may include any suitableGraphic-User-Interface (GUI) 116 and/or any other suitable interface.

In some demonstrative embodiments, system 100 may include a display 130configured to display one or more objects to be captured by an imagecapturing device, and/or to display information, objects, instructionsand/or any other content, for example, to a user, e.g., as describedbelow.

In some demonstrative embodiments, display 130 may include a separatedisplay, a stand-alone display and/or a display device, e.g., separatefrom other elements of system 100.

In some demonstrative embodiments, display 130 may be part of device 102or part of server 170.

In some demonstrative embodiments, display 130 may be part of any othercomputing system, e.g., a laptop, a desktop, and/or the like.

In some demonstrative embodiments, display 130 may include, for example,a monitor, a screen, a touch-screen, a flat panel display, a LED displayunit, an LCD display unit, a plasma display unit, one or more audiospeakers or earphones, and/or any other suitable components.

In some demonstrative embodiments, the GUI 116 of interface 110 may bedisplayed on display 130.

In some demonstrative embodiments, application 160 may be configured todetermine the one or more optical parameters of the lens, for example,based on at least one captured image of an object, e.g., as describedbelow.

In some demonstrative embodiments, the object may include an objecthaving one or more known dimensions, e.g., as described below.

In some demonstrative embodiments, application 160 may be configured todetermine the one or more optical parameters of the lens, for example,based on the dimensions of the object, e.g., as described below.

In some demonstrative embodiments, the object may include a circularlysymmetric or rotationally symmetric object, e.g., as described below.

In some demonstrative embodiments, the object may be displayed ondisplay 130.

In other embodiments, the object may include an object which is notdisplayed on display 130, e.g., the object may include a physicalobject, which may be placed, presented, and/or positioned, for example,to enable device 102 to capture the image of the object, e.g., asdescribed below.

In some demonstrative embodiments, application 160 may be configured tocontrol, cause, trigger, and/or instruct display 130 to display theobject.

In some demonstrative embodiments, application 160 may be configured tocalibrate a display size of the object on display 130, e.g., asdescribed below.

In some demonstrative embodiments, the captured image may be captured bythe user, and may include the object, e.g., as described below.

In some demonstrative embodiments, the captured image of the object maybe captured via the lens of the eyeglasses.

In some demonstrative embodiments, device 102 may include an imagecapturing device, e.g., a camera 118 or any other device, configured tocapture the at least one image.

In some demonstrative embodiments, application 160 may be configured tocontrol, cause, trigger, and/or instruct camera 118 to capture the atleast one image including the object.

In some demonstrative embodiments, application 160 may be configured toinstruct the user to capture at least one image of the object via thelens of the eyeglasses.

In some demonstrative embodiments, application 160 may be configured tocontrol, cause, trigger, and/or instruct camera 118 to capture the atleast one image via the center of the lens, or via any other part of thelens.

In some demonstrative embodiments, an image of the object, as may beseen by the camera 118, e.g., through the lens, may be displacedlaterally, for example, if the image is not viewed via the center of thelens.

In some demonstrative embodiments, a displacement of the image may vary,for example, according to the distance from the center of the lens,and/or the spherical power of the lens.

In some demonstrative embodiments, a center of an object displayed ondisplay 130 may be imaged without displacement, e.g., with or withoutthe lens, for example, if an optical axis connecting between the lens ofcamera 118 and the center of the object displayed on display 130coincides with the center of the lens.

In some demonstrative embodiments, the center of the lens may beidentified, for example, by moving the lens to a distance, at which thecenter of the object displayed on display 130 overlaps with the centerof the object, e.g., when imaged through the lens.

In some demonstrative embodiments, the spherical power of the lens,and/or a sign of the lens, e.g., a plus (converging) lens or a minus(diverging) lens, may be estimated, for example, based on an amount ofdisplacement of the image, for example, when keeping the lens at a fixedlocation.

In some demonstrative embodiments, two centers of the object, e.g., afirst center when using the lens and a second center when not using thelens, may be displayed on the screen without displacement, for example,if an image is captured through the center of the lens. However, sizesand distortions in one or more features of the images may result inother images, e.g., which are not captured through the center of thelens.

In some demonstrative embodiments, application 160 may be configured todetermine the one or more optical parameters of the lens based on the atleast one captured image, e.g., as described below.

In some demonstrative embodiments, application 160 may be configured toreceive the at least one image of the object captured via the lens ofthe eyeglasses, e.g., from the camera 118.

In one example, application 160 may be configured to determine the oneor more optical parameters of the lens locally, for example, ifapplication 160 is locally implemented by device 102. According to thisexample, camera 118 may be configured to capture the image, andapplication 160 may be configured to receive the captured image, e.g.,from camera 118, and to determine the one or more optical parameters ofthe lens, e.g., as described below.

In another example, application 160 may be configured to determine theone or more optical parameters of the lens remotely, for example, ifapplication 160 is implemented by server 170, or if the back-end ofapplication 160 is implemented by server 170, e.g., while the front-endof application 160 is implemented by device 102. According to thisexample, camera 118 may be configured to capture the image; thefront-end of application 160 may be configured to receive the capturedimage; and server 170 and/or the back-end of application 160 may beconfigured to determine the one or more optical parameters of the lens,e.g., based on information received from the front-end of application160.

In one example, device 102 and/or the front-end of application 160 maybe configured to send the captured image and, optionally, additionalinformation, e.g., as described below, to server 170, e.g., via network103; and/or server 170 and/or the back-end of application 160 may beconfigured to receive the captured image, and to determine the one ormore optical parameters of the lens, for example, based on the capturedimage from device 102.

In some demonstrative embodiments, application 160 may be configured todetermine the one or more optical parameters of the lens, for example,based on autofocus information of camera 118, when the image iscaptured.

In some demonstrative embodiments, application 160 may be configured todetermine the spherical power of the lens, for example, based on theautofocus information of camera 118, when the image is captured.

In some demonstrative embodiments, the spherical power of the lens maybe determined, for example, based on a displacement of camera 118 and acaptured image via the center of the lens, e.g., as described below.

In some demonstrative embodiments, application 160 may be configured toreceive a captured image of an object, e.g., displayed on display 130,when captured, for example, through the lens, e.g., through the centerof the lens.

In some demonstrative embodiments, application 160 may be configured toanalyze, for example, an amount of a dioptric change, e.g., from amovement of the auto focus (AF) lens of camera 118.

In some demonstrative embodiments, the dioptric change may enable camera118, for example, to capture a sharp image of the object at the distanceat which the sharp image is captured.

In some demonstrative embodiments, the spherical power of the lens maybe based on the AF setting, e.g., the AF movement, of camera 118, whencapturing the image of the object.

In some demonstrative embodiments, application 160 may be configured todetermine, for example, if an addition of the spherical power of thelens of the eyeglasses to the power of the camera lens of camera 118 iscompensated by the AF of camera 118, e.g., at the same amount.

In some demonstrative embodiments, a total power, denoted Ø_(total), oftwo lenses, denoted Ø₁, Ø₂, separated by a distance, denoted t, with anindex of refraction, denoted n, may be determined, e.g., as follows:

$\begin{matrix}{\varphi_{total} = {\varphi_{1} + \varphi_{2} - {\varphi_{1}*\varphi_{2}*\frac{t}{n}}}} & (1)\end{matrix}$

In one example, if a lens of camera 118 (“the camera lens”) is focusedat 50 centimeters (cm) to the object, the AF may move the camera lens,for example, to accommodate a change of +2.00 Diopter (D).

According to this example, if a lens of eyeglasses (“the eyeglasseslens”) having a focal length of 100 mm (−10 D) may be in contact withthe camera lens at a distance t=0, the AF may accommodate a change of12.00 D.

In some demonstrative embodiments, if the eyeglasses lens is removed,and the focus of the camera remains at 12 D, a sharpest distance fromthe object, e.g., a distance which enables to view the object mostsharply compared to other distances, may be at 83.33 millimeter (mm),e.g.,

$\frac{1000}{12.00\; D} = {83.33\mspace{14mu} {({mm}).}}$

In some demonstrative embodiments, the sharpest distance, which enablesto view the object most sharply, e.g., 83.33 mm, may be read from camera118, e.g., the AF information of camera 118.

In some demonstrative embodiments, application 160 may be configured toperform one or more operations to determine the spherical power of thelens, for example, based on the autofocus information of camera 118,e.g., as described below.

Reference is made to FIG. 2, which schematically illustrates a method ofcapturing an image via a lens using an AF, in accordance with somedemonstrative embodiments. For example, one or operations of the methodof FIG. 2 may be performed by a system, e.g., system 100 (FIG. 1), amobile device, device 102 (FIG. 1), a server, e.g., server 170 (FIG. 1),a display (FIG. 1), and/or an application, e.g., application 160 (FIG.1).

As indicated at block 202, the method may include taking a referencepicture of an object displayed on a display, which is placed at adistance from the camera. For example, application 160 (FIG. 1) maycause camera 118 (FIG. 1) to capture the image of the object displayedon display 130 (FIG. 1), e.g., as described above.

As indicated at block 204, the method may include imposing the center ofthe eyeglasses lens close to the camera lens. For example, application160 (FIG. 1) may instruct the user to impose the center of theeyeglasses lens close to the camera lens of camera 118 (FIG. 1).

As indicated at block 206, the method may include performing anautofocus (AF) procedure of the camera, for example, while theeyeglasses lens is close to the camera lens. For example, application160 (FIG. 1) may instruct camera 118 (FIG. 1) to capture an image, e.g.,while performing autofocus, for example, when the eyeglasses lens isclose to the camera lens.

Refereeing back to FIG. 1, in some demonstrative embodiments application160 may be configured to determine the spherical power of the lens, forexample, based on the autofocus information of camera 118, e.g., asdescribed below.

In some demonstrative embodiments, application 160 may be configured todetermine the spherical power of the lens based on a direct distance AF(“direct AF”) method and/or an indirect distance AF (“indirect AF”)method, e.g., as described below.

In some demonstrative embodiments, according to the direct distance AFmethod the lens power may be determined based on the AF change of thecamera 118, e.g., as described below.

In some demonstrative embodiments, an image of the object may becaptured without the lens and may be set as the reference image.

In some demonstrative embodiments, another image of the object may becaptured with the lens.

In some demonstrative embodiments, application 160 may be configured toperform one or more operations according to the direct AF method.

In some demonstrative embodiments, application 160 may be configured todetermine a power of the lens based on the AF information of camera 118,e.g., when at least one image of the object is captured by camera 118,e.g., as described below.

In some demonstrative embodiments, application 160 may be configured toprocess a first image of the object captured via the lens at a firstdistance between the object and camera 118.

In some demonstrative embodiments, application 160 may be configured toprocess a second image of the object captured without the lens at asecond distance between the object and camera 118.

In some demonstrative embodiments, application 160 may be configured todetermine a power of the lens based on the first and second distances,first autofocus information of camera 118 when the first image iscaptured, and second autofocus information of camera 118 when the secondimage is captured, e.g., as described below.

Reference is made to FIG. 3, which schematically illustrates a method ofdetermining a power of a lens based on autofocus information, inaccordance with some demonstrative embodiments. For example, one oroperations of the method of FIG. 3 may be performed by a system, e.g.,system 100 (FIG. 1); a mobile device, e.g., device 102 (FIG. 1); aserver, e.g., server 170 (FIG. 1); a display, e.g., display 130 (FIG.1); and/or an application, e.g., application 160 (FIG. 1).

In some demonstrative embodiments, application 160 (FIG. 1) may performone or more, e.g., all, of the operations of FIG. 3, for example, todetermine a power of the lens based on the autofocus information, e.g.,according to the direct AF method.

As indicated at block 302, the method may include capturing a firstimage of an object through the center of the lens. For example,application 160 (FIG. 1) may cause camera 118 (FIG. 1) to capture thefirst image of an object, e.g., the object displayed on display 130(FIG. 1) and/or another object, e.g., a physical object, via the centerof the lens, e.g., as described above.

As indicated at block 304, the method may include removing the lens. Forexample, application 160 (FIG. 1) may instruct the user to remove thelens.

As indicated at block 306, the method may include capturing a secondimage of the object, e.g., the object displayed on display 130 (FIG. 1)and/or another object, e.g., a physical object, without the lens. Forexample, application 160 (FIG. 1) may cause camera 118 (FIG. 1) tocapture the second image of the object displayed on display 130 (FIG. 1)without the lens, e.g., as described above.

As indicated at block 308, the method may include determining a firstdistance between the camera and the display when the first image wascaptured, and a second distance between the camera and the display whenthe second image was captured. For example, application 160 (FIG. 1) maydetermine the first and second distances.

As indicated at block 310, the method may include processing firstautofocus information when capturing the first image and secondautofocus information when capturing the second image. For example,application 160 (FIG. 1) may process the first and second autofocusinformation, e.g., from camera 118.

As indicated at block 312, the method may include calculating the powerof the lens, for example, based on the first and second distances, andthe first and second autofocus information. For example, application 160(FIG. 1) may determine the spherical power of the lens, for example,based on the first and second distances, and the first and secondautofocus information, e.g., as described above.

Referring back to FIG. 1, in some demonstrative embodiments, application160 may be configured to determine the spherical power of the lens basedon the indirect AF method.

In some demonstrative embodiments, according to the indirect AF methodthe lens power may be determined based on a sharpness analysis or a bluranalysis, for example, while keeping the autofocus off, or in a manualmode, e.g., as described below.

In some demonstrative embodiments, an image of the object may becaptured without the lens and may be set as the reference image.

In some demonstrative embodiments, a set of images may be capturedthrough the lens at different lateral displacements, e.g., displacementsof the camera and/or the lens, may be captured, for example, afterplacing the lens in the line between the lens and the center of theobject displayed on the display 130, e.g., while autofocus is off.

In some demonstrative embodiments, the set of images may be used tolocate a sharpest image, or a least-blurred image, of the set of images.

In some demonstrative embodiments, the sharpest image may be used todetermine the power of the lens.

In some demonstrative embodiments, application 160 may be configured toperform one or more operations to determine the spherical power of thelens based on the indirect AF method, e.g., as described below.

In some demonstrative embodiments, application 160 may be configured todetermine the power of the lens based on a sharpness parameter and/or ablur parameter of one or more spatial frequencies in the image of theobject, e.g., as described below.

In some demonstrative embodiments, application 160 may be configured toprocess a plurality of images of the object captured not via the lens ata respective plurality of distances between the object and camera 118.

In some demonstrative embodiments, application 160 may be configured todetermine a sharpest image, or a least-blurred image, of the pluralityof images including the one or more spatial frequencies.

In some demonstrative embodiments, application 160 may be configured todetermine the power of the lens, for example, based at least on a firstdistance between the object and camera 118, when the sharpest image iscaptured and a second distance between the object and camera 118, whenthe image of the object is captured via the lens.

Reference is made to FIG. 4, which schematically illustrates a method ofdetermining a power of a lens, in accordance with some demonstrativeembodiments. For example, one or operations of the method of FIG. 4 maybe performed by a system, e.g., system 100 (FIG. 1); a mobile device,e.g., device 102 (FIG. 1); a server, e.g., server 170 (FIG. 1); adisplay, e.g., display 130 (FIG. 1); and/or an application, e.g.,application 160 (FIG. 1).

In some demonstrative embodiments, application 160 (FIG. 1) may performone or more, e.g., all, of the operations of FIG. 4, for example, todetermine the spherical power of the lens based on the sharpnessparameter, e.g., according to the indirect AF method.

As indicated at block 402, the method may include capturing a firstimage via the lens of an object displayed on the display, e.g., via thecenter of the lens. For example, application 160 (FIG. 1) may causecamera 118 (FIG. 1) to capture the first image of an object, e.g., theobject displayed on display 130 (FIG. 1), and/or another abject, e.g., aphysical object, via the center of the lens, e.g., as described above.

As indicated at block 404, the method may include removing the lens andkeeping the AF off or in manual mode. For example, application 160(FIG. 1) may instruct the user to remove the lens and to keep the AF ofcamera 118 (FIG. 1) off or in manual mode.

As indicated at block 406, the method may include capturing a series ofimages of the object without the lens, while moving the camera towardsthe display and/or from the display backwards, e.g., when the object isdisplayed on the display, or while moving the camera towards the objectand/or from the object backwards, e.g., when the object is a physicalobject. For example, application 160 (FIG. 1) may cause camera 118(FIG. 1) to capture the plurality of images of the object displayed ondisplay 130 (FIG. 1), e.g., while instructing the user to move camera118 (FIG. 1), e.g., as described above.

As indicated at block 408, the method may include determining a firstdistance between the camera and the display when the first image wascaptured via the lens. For example, application 160 (FIG. 1) maydetermine the first distance.

As indicated at block 410, the method may include analyzing the seriesof the images, which were not captured via the lens, for example, todetermine a sharpest image, or a least-blurred image, of the series ofcaptured images, e.g., compared to other images of the series. Forexample, application 160 (FIG. 1) may determine the sharpest image,e.g., as described above.

As indicated at block 412, the method may include determining a seconddistance, from which the sharpest image was captured. For example,application 160 (FIG. 1) may determine the second distance when thesharpest image is captured, e.g., as described above.

As indicated at block 414, the method may include calculating the powerof the lens, for example, based on the first and second distances. Forexample, application 160 (FIG. 1) may determine the spherical power ofthe lens, for example, based on the first and second distances, e.g., asdescribed above.

Referring back to FIG. 1, one or more additional or alternative methodsmay be implemented to analyze the spherical power of a lens, forexample, using a relative magnification analysis, e.g., as describedbelow.

In some demonstrative embodiments, application 160 may be configured todetermine the power of the lens, for example, based on the one or moredimensions of the object, e.g., as described below.

In some demonstrative embodiments, application 160 may be configured todetermine one more imaged dimensions of the object in the image.

In some demonstrative embodiments, application 160 may be configured todetermine the spherical power of the lens, for example, based on amagnification between the one or more dimensions of the object and theimaged dimensions of the object in the image, e.g., as described below.

In some demonstrative embodiments, a magnification, denoted M, of a lensmay change, for example, according to a power of the lens, denotedP_(LUT), and a distance between the eyeglasses lens and the camera,denoted t, e.g., as follows:

$\begin{matrix}{{P = {P_{LUT} + P_{camera} - {t*P_{LUT}*P_{camera}}}}{{\varphi_{1} + P} = {\varphi \; 2}}{M = \frac{\varphi_{1}}{\varphi_{2}}}} & (2)\end{matrix}$

wherein Ø₁ denotes the vergence, e.g., 1 over the distance, just beforethe lens; Ø₂ denotes the vergence just after the camera lens, and ndenotes an index of refraction of the medium between the eyeglasses lensand the camera lens, e.g., n may be taken as 1 for air.

In some demonstrative embodiments, the power P_(LUT) of the lens may bedetermined based on the camera magnification M, e.g., of the targetobject displayed on the display or the physical object, the mergencebefore the lens, e.g., given from a measured distance, and an opticalpower of the lens, denoted P_(C), which may be given or previouslycalibrated, and the distance t from the camera 118, as follows:

$\begin{matrix}{P_{LUT} = \frac{\left( {{\varphi_{1}*\left( {\frac{1}{M} - 1} \right)} - P_{camera}} \right)}{\left( {1 - {t*P_{camera}}} \right)}} & (3)\end{matrix}$

In some demonstrative embodiments, the distance t of the lens from thecamera may be calculated from the captured image, for example, if acalibration procedure is performed to set a size parameter of the frame,for example, the frame may be placed on the display plane and an objectwith known dimensions may be displayed over the display 130, e.g., asdescribed below.

In some demonstrative embodiments, application 160 may be configured todetermine a distance between the object and the camera 118, for example,when the image is captured via the lens, e.g., via center of the lens.

In some demonstrative embodiments, application 160 may be configured todetermine the distance, for example, to be used in determining the oneor more optical parameters of the lens, for example, based on the directautofocus method, the indirect autofocus method, and/or the one or moredimensions of the object.

In some demonstrative embodiments, application 160 may be configured todetermine the distance between camera 118 and the object, for example,based on acceleration information indicating an acceleration of camera118 and/or device 102, e.g., as described below.

In some demonstrative embodiments, device 102 may include anaccelerometer 126 configured to provide to application 160 theacceleration information of camera 118 and/or device 102.

In some demonstrative embodiments, application 160 may be configured todetermine the distance between camera 118 and the object, for example,based on the one or more dimensions of the object, e.g., which mayinclude known dimensions.

In some demonstrative embodiments, a distance between camera 118 to theobject, denoted camera_object_distance, may be determined, for example,based on a focal length, denoted efl, of camera 118, which may be givenor calibrated, and a distance, denoted pitch between two adjacent pixelsof a camera sensor of camera 118, e.g., as follows:

$\begin{matrix}{\frac{{efl}*h}{h^{\prime}} = {\frac{efl}{pitch}*\frac{h}{h^{\prime}{\_ pixel}{\_ estimated}}}} & (4)\end{matrix}$

wherein h denotes a known dimension of the object, andh′_pixels_estimated denotes the amount of pixels including the dimensionin the image, and while using an approximation of:

$\begin{matrix}{{{camera\_ object}{\_ distance}}\operatorname{>>}{{{efl}{\; \;}\overset{}{}v} \cong {{efl}.}}} & (5)\end{matrix}$

In some demonstrative embodiments, application 160 may be configured todetermine the distance between camera 118 and the object, for example,based on at least two images captured at two or more locations, whichdiffer from one another by a known or measured distance. In one example,a dual camera may be used to capture two images spaced by a predefineddistance. In another example, a camera, e.g., camera 118, may be used totake two snapshots, which may be displaced by a certain distance onefrom another. The distance may be measured, for example, based onaccelerometer data from accelerometer 126 and/or using a triangulationmethod. In other embodiments, application 160 may be configured todetermine the distance between camera 118 and the object, for example,according to any other additional or alternative distance estimationmethod.

In some demonstrative embodiments, application 160 may be configured todetermine the cylindrical axis of the lens, e.g., as described below.

In some demonstrative embodiments, application 160 may be configured todetermine whether or not the lens includes a cylindrical lens, and todetermine the axis of the lens, for example, if the lens includes thecylindrical lens, e.g., as described below.

In some demonstrative embodiments, application 160 may be configured toidentify an existence of a cylindrical axis of the lens, for example,based on one or more visual affects of one or more spatial frequenciesin the image, e.g., as descried below.

In some demonstrative embodiments, application 160 may be configured toidentify an angle of a non-symmetrical blur of the one or more spatialfrequencies in the image.

In some demonstrative embodiments, application 160 may be configured todetermine the existence of the cylindrical axis, for example, based onthe angle of the non-symmetrical blur.

In some demonstrative embodiments, application 160 may be configured toidentify an angle of a sharpest portion of the spatial frequencies inthe image.

In some demonstrative embodiments, application 160 may be configured todetermine the existence of the cylindrical axis, for example, based onthe angle of the sharpest portion.

Reference is made to FIG. 5, which schematically illustrates a method ofdetecting a cylindrical lens and determining the axis of the cylindricallens, in accordance with some demonstrative embodiments. For example,one or operations of the method of FIG. 5 may be performed by a system,e.g., system 100 (FIG. 1); a mobile device, e.g., device 102 (FIG. 1); aserver, e.g., server 170 (FIG. 1); a display, e.g., display 130 (FIG.1); and/or an application, e.g., application 160 (FIG. 1).

As indicated at block 502, the method may include capturing at least oneimage of an object, e.g., an object displayed on a display and/oranother object, e.g., a physical object, via the lens, e.g., through thecenter of the lens. For example, application 160 (FIG. 1) may causecamera 118 (FIG. 1) to capture the image of the object displayed ondisplay 130 (FIG. 1), for example, via the center of the lens, e.g., asdescribed above.

As indicated at block 504, the method may include identifying a visualeffect in the captured image, e.g., an existence of a non-symmetricalblur in the image. For example, application 160 (FIG. 1) may identifythe non-symmetrical blur in the image, e.g., as described below.

As indicated at block 506, the method may include identifying an angleat which the imaged object is sharpest, e.g., compared to other angles,and a perpendicular angle, at which the imaged object is most blurred,e.g., compared to other angles. For example, application 160 (FIG. 1)may identify the sharpest angle, and/or the non-symmetrical blur angle,e.g., as described below.

As also indicated at block 506, the method may include setting thecylindrical axis based on the identified angle and/or the identifiedperpendicular angle. For example, application 160 (FIG. 1) may identifythe cylindrical axis based on the sharpest angle and/or the angle of thenon-symmetrical blur, e.g., as described below.

Reference is made to FIG. 6, which schematically illustrates a pluralityof captured images 600 of an object 610, in accordance with somedemonstrative embodiments.

In some demonstrative embodiments, as shown in FIG. 6, the object 610may include a circularly and rotationally symmetric object.

In some demonstrative embodiments, as shown in FIG. 6, the capturedimages 600 may be used in a detection of a cylindrical lens.

In some demonstrative embodiments, as shown in FIG. 6, object 610 mayinclude radial elements, which maintain a certain frequency as afunction of the radius of a captured image 600.

In some demonstrative embodiments, as shown in FIG. 6, a blur caused bythe cylindrical lens may be determined based on the contrast of theimaged object 610 as a function of the radius and teta of object 610.

In some demonstrative embodiments, the use of captured images 610, whichhave different colors, may enable to analyze different focal planes atthe same time, e.g., in and out of focus.

Referring back to FIG. 1, in some demonstrative embodiments, one or moreother methods may be used to determine whether or not the lens includesa cylindrical lens, and/or to determine the axis of the lens, forexample, if the lens includes the cylindrical lens.

In some demonstrative embodiments, application 160 may be configured todetermine the cylindrical axis of the lens based on a comparison betweenone or more spatial elements of the object and one or more imagedspatial elements in the image, e.g., as described below.

In some demonstrative embodiments, application 160 may be configured toprocess a plurality of images corresponding to a plurality of rotationsof the spatial elements in a plurality of angles.

In some demonstrative embodiments, application 160 may be configured todetermine a plurality of magnifications between the one or more spatialelements of the object and the one or more imaged spatial elementscorresponding to the plurality of rotations.

In some demonstrative embodiments, application 160 may be configured todetermine the cylindrical axis, for example, based on the plurality ofdetermined magnifications, e.g., as described below.

In one example, the spatial elements may include, for example, across-shaped element in the object and the imaged spatial elements mayinclude an imaged cross-shaped element in the image.

According to this example, application 160 may be configured to processa plurality of images corresponding to a plurality of rotations of thecross-shaped element in a plurality of angles, to identify a co-alignedimage in which the cross-shaped element and the imaged cross-shapedelement are co-aligned, and to determine the cylindrical axis, forexample, based on an angle of the imaged cross-shaped element, e.g., asdescribed below.

Reference is made to FIG. 7, which schematically illustrates a method ofdetecting a cylindrical lens and determining the axis of the cylindricallens, in accordance with some demonstrative embodiments. For example,one or operations of the method of FIG. 7 may be performed by a system,e.g., system 100 (FIG. 1); a mobile device, e.g., device 102 (FIG. 1); aserver, e.g., server 170 (FIG. 1); a display, e.g., display 130 (FIG.1); and/or an application, e.g., application 160 (FIG. 1).

As indicated at block 702, the method may include displaying an objecton the display. For example, application 160 (FIG. 1) may cause display130 (FIG. 1) to display the object, e.g., as described above.

As indicated at block 704, the method may include capturing a series ofimages through the lens, e.g., via the center of the lens, e.g., whilerotating the object on the display. For example, application 160(FIG. 1) may cause camera 118 (FIG. 1) to capture the images of theobject displayed on display 130 (FIG. 1) via the center of the lens, forexample, while causing the display 130 (FIG. 1) to display the object atthe plurality of rotations, e.g., as described above.

As indicated at block 706, the method may include rotating the object onthe display. For example, application 160 (FIG. 1) may cause display 130(FIG. 1) to rotate the object, e.g., as described above.

As indicated at block 708, the method may include identifying analignment angle at which the imaged object and the object mostco-aligns, e.g., compared to other angles, and/or a minimal distortionangle of the imaged object, at which the distortion to directionalfeatures within the imaged object image are minimal. For example,application 160 (FIG. 1) may identify the co-alignment between theimaged object and the object, e.g., as described below.

As indicated at block 710, the method may include setting thecylindrical axis based on the alignment angle and/or the minimaldistortion angle. For example, application 160 (FIG. 1) may determinethe cylindrical axis based on the alignment angle, e.g., as describedbelow.

Reference is made to FIG. 8, which schematically illustrates examples ofcaptured images 802, 804, 806 and 808 useful in cylindrical axisidentification of a lens 810, in accordance with some demonstrativeembodiments.

In some demonstrative embodiments, images 802, 804, 806 and 808 maycorrespond to different rotations of spatial elements 812 of an object .

In some demonstrative embodiments, as shown in FIG. 8, cylindrical lens810 may cause a geometrical magnification of spatial elements 812 alonga cylindrical axis 815 of the cylindrical lens 810.

In some demonstrative embodiments, as shown in FIG. 8, the magnificationmay be between spatial elements 812 and imaged spatial elements 814 ofthe object, e.g., as may be captured via lens 810.

In some demonstrative embodiments, as shown in FIG. 8, spatial elements812 and imaged spatial elements 814 may not be co-aligned in images 802,804 and 806.

In some demonstrative embodiments, as shown in FIG. 8, spatial elements812 and imaged spatial elements 814 may co-align in image 808.

In some demonstrative embodiments, as shown in FIG. 8, in image 808spatial elements 812, imaged spatial elements 814 and cylindrical axis815 may co-align. Accordingly, cylindrical axis 815 may be determined asthe rotation of spatial elements 812 in image 808.

Referring back to FIG. 1, in some demonstrative embodiments, application160 may be configured to determine the cylindrical power of the lens,for example, based on the cylindrical axis of the lens.

In some demonstrative embodiments, application 160 may use the detectionof the cylindrical lens and the axis of cylindrical lens, e.g., asdescribed above with reference to FIG. 5, 6, 7 and/or 8, for example, todetermine a cylindrical power of the lens, e.g., as described below.

In some demonstrative embodiments, application 160 may be configured todetermine a first power of the lens at the cylindrical axis.

In some demonstrative embodiments, application 160 may be configured todetermine a second power of the lens at a perpendicular axis, which isperpendicular to the cylindrical axis.

In some demonstrative embodiments, application 160 may be configured todetermine the cylindrical power of the lens, for example, based on thefirst and second powers, e.g., as described below.

Reference is made to FIG. 9, which schematically illustrates a method ofdetermining a cylindrical power of a lens, in accordance with somedemonstrative embodiments. For example, one or operations of the methodof FIG. 9 may be performed by a system, e.g., system 100 (FIG. 1); amobile device, e.g., device 102 (FIG. 1); a server, e.g., server 170(FIG. 1); a display, e.g., display 130 (FIG. 1); and/or an application,e.g., application 160 (FIG. 1).

As indicated at block 902, the method may include detecting acylindrical lens and an axis of the lens, for example, using a firstdisplayed object, for example, according to one or more operationsdescribed above with reference to FIGS. 5, 6, 7, and/or 8. For example,application 160 (FIG. 1) may determine the cylindrical axis 816 (FIG. 8)of lens 810 (FIG. 8), e.g., as descried above.

As indicated at block 904, the method may include displaying a secondobject on the display at a first angle corresponding to the cylindricalaxis of the lens. For example, application 160 (FIG. 1) may causedisplay 130 (FIG. 1) to display the second object at an anglecorresponding to the cylindrical axis of the lens, e.g., as determinedaccording to one or more operations described above with reference toFIGS. 5, 6, 7, and/or 8.

As indicated at block 906, the method may include analyzing thespherical power of the lens at the cylindrical axis when capturing thesecond image. For example, application 160 (FIG. 1) may determine thefirst power of the lens at the cylindrical axis, e.g., as describedabove.

In some demonstrative embodiments, analyzing the spherical power of thelens when displaying the second object may include, for example, one ormore operations described above with reference to FIG. 4.

As indicated at block 908, the method may include displaying a thirdobject on the display at a second angle perpendicular to the cylindricalaxis of the lens. For example, application 160 (FIG. 1) may causedisplay 130 (FIG. 1) to display the third object at the angleperpendicular to the cylindrical axis of the lens.

As indicated at block 910, the method may include analyzing thespherical power of the lens at the perpendicular angle when capturingthe third image. For example, application 160 (FIG. 1) may determine thesecond power of the lens at the perpendicular angle, e.g., as describedabove.

In some demonstrative embodiments, analyzing the spherical power of thelens when displaying the third object may include, for example, one ormore operations described above with reference to FIG. 4.

Referring back to FIG. 1, in some demonstrative embodiments, application160 may be configured to determine a sign of the lens, e.g., to identifya converging lens or diverging lens.

In some demonstrative embodiments, application 160 may be configured todetermine the sign of the lens for example, based on at least one imagecaptured via the lens, e.g., as described below.

In some demonstrative embodiments, application 160 may be configured tocause camera 118 to capture a plurality of images of the object via thelens, for example, while the eyeglasses are moved in a particulardirection. In one example, application 160 may be configured to instructthe user to move the eyeglasses.

In some demonstrative embodiments, application 160 may be configured toidentify a movement pattern in the plurality of captured images.

In some demonstrative embodiments, application 160 may be configured todetermine the sign of the lens based on the movement pattern, e.g., asdescribed below.

Reference is made to FIG. 10, which schematically illustrates a methodof determining a sign of a lens, in accordance with some demonstrativeembodiments. For example, one or operations of the method of FIG. 10 maybe performed by a system, e.g., system 100 (FIG. 1); a mobile device,e.g., device 102 (FIG. 1); a server, e.g., server 170 (FIG. 1); adisplay, e.g., display 130 (FIG. 1); and/or an application, e.g.,application 160 (FIG. 1).

As indicated at block 1002, the method may include displaying an objecton the display. For example, application 160 (FIG. 1) may cause display130 (FIG. 1) to display the object, e.g., as described above.

As indicated at block 1004, the method may include locating the lensbetween the display and the camera and capturing an image of the objectvia the lens. For example, application 160 (FIG. 1) may instruct theuser of the eyeglasses to capture the image of the object via the lens,e.g., as described above.

As indicated at block 1006, the method may include capturing a series ofimages while moving the lens in a predefined direction. For example,application 160 (FIG. 1) may cause camera 118 (FIG. 1) to capture theseries of images, while instructing the user to move the lens in apredefined direction, e.g., as described above.

As indicated at block 1008, the method may include identifying the signof the lens based on the movement direction of the imaged object imagein the captured image. For example, application 160 (FIG. 1) maydetermine the sign of the lens based on the movement pattern, e.g., asdescribed below.

In one example, the method may include determining the lens includes aconverging lens, e.g., a Plus lens, for example, if the direction ofmovement of the imaged object is opposite to the predefined direction.

In another example, the method may include determining the lens includesa diverging lens, e.g., a Minus lens, for example, if the direction ofmovement of the imaged object is the same as the predefined direction.

Referring back to FIG. 1, in some demonstrative embodiments, application160 may be configured to determine a pupillary distance between a pairof lenses, e.g., a first lens and a second lens, which are assembledinto the frame of the eyeglasses, e.g., as described below.

In some demonstrative embodiments, application 160 may be configured todetermine the pupillary distance, for example, based on a distancebetween a first center of the first lens and a second center of thesecond lens, e.g., as described below.

In some demonstrative embodiments, application 160 may be configured toperform one or more operations to determine the pupillary distance,e.g., as described below.

In some demonstrative embodiments, application 160 may be configured toinstruct the user to use camera 118 to capture a first image of theobject without the lens.

In some demonstrative embodiments, application 160 may be configured toidentify a second image captured via the lens, which co-aligns with thefirst image.

In some demonstrative embodiments, application 160 may be configured todetermine a first location, e.g., when the second image is captured.

In some demonstrative embodiments, application 160 may be configured toidentify a third image captured via the second lens, which co-alignswith the first image.

In some demonstrative embodiments, application 160 may be configured todetermine a second location, e.g., when the third image is captured.

In some demonstrative embodiments, applications 160 may be configured todetermine the pupillary distance based on the first and secondlocations, e.g., as described below.

Reference is made to FIG. 11, which schematically illustrates a methodof determining a pupillary distance between a pair of lenses ofeyeglasses, in accordance with some demonstrative embodiments. Forexample, one or operations of the method of FIG. 11 may be performed bya system, e.g., system 100 (FIG. 1); a mobile device, e.g., device 102(FIG. 1); a server, e.g., server 170 (FIG. 1); a display, e.g., display130 (FIG. 1); and/or an application, e.g., application 160 (FIG. 1).

As indicated at block 1102, the method may include displaying an objecton a display. For example, application 160 (FIG. 1) may cause display130 (FIG. 1) to display the object, e.g., as described above.

As indicated at block 1104, the method may include capturing a referenceimage of the object displayed on the display, e.g., without the lens.For example, application 160 (FIG. 1) may cause camera 118 (FIG. 1) tocapture the image of the object, for example, not through the lens.

As indicated at block 1106, the method may include placing the lens nearthe camera lens. For example, application 160 (FIG. 1) may instruct theuser to place the lens near the camera lens of camera 118 (FIG. 1).

As indicated at block 1108, the method may include moving the camera toa first location, at which an image of the object captured via the firstlens and the reference image of the object are substantially co-aligned.For example, application 160 (FIG. 1) may instruct the user to movecamera 118 (FIG. 1) to the location at which the reference image and thecaptured image via the first lens are co-aligned.

As indicated at block 1108, the method may include resetting a lateraldistance to xo at the first location. For example, application 160(FIG. 1) may reset the lateral distance at the first location.

As indicated at block 1110, the method may include moving the camera toa center of the second lens of the eyeglasses, and measuring therelative distance to the location x, while the frame remains at the sameposition. For example, application 160 (FIG. 1) may instruct the user tomove the camera 118 (FIG. 1) to the center of the second lens of theeyeglasses, and application 160 may determine the relative distance fromthe location x to the location x0, while the frame remains at the sameposition.

As indicated at block 1112, the method may include capturing a secondimage of the object via the second lens at a second location, at which acaptured image of the object via the second lens and the reference imageof the object are substantially co-aligned. For example, application 160(FIG. 1) may instruct the user to move camera 118 (FIG. 1) to thelocation at which the reference image and captured image via the secondlens are co-aligned, e.g., as described above.

As indicated at block 1112, the method may include determining arelative distance between the location x0 and the second location, andsetting the relative distance as the pupillary distance of theeyeglasses. For example, application 160 (FIG. 1) may determine thepupillary distance based on the distance between the two centers of thefirst and second lenses.

Reference is made to FIG. 12, which schematically illustrates agraphical display 1200, in accordance with some demonstrativeembodiments.

In some demonstrative embodiments, application 160 (FIG. 1) may beconfigured to cause display 130 (FIG. 1) to display graphical display1200.

In some demonstrative embodiments, as shown in FIG. 12, graphicaldisplay 1200 may include an object 1202, e.g., a sinusoidal roseta, andone or more calibration objects 1204, 1206, 1208, and/or 1210.

In some demonstrative embodiments, a method to determine a sharpestimage from a set of captured images on a display, e.g., display 130(FIG. 1), may include determining the sharpest image based on asharpness criterion, a blur criterion, a contrast criterion and/or analiasing criterion, in which an image density of pixels of the displayclosely matches a density of the sensor pixels, e.g., if a capturedimage is in focus.

In some demonstrative embodiments, the method to determine the sharpestimage may be applied in a directional manner

Some demonstrative embodiments may enable to apply one or more methodsto identify the sharpest image.

In some demonstrative embodiments, a contrast method to determinesharpest image may be performed using an imaged object of object 1202.

In some demonstrative embodiments, as shown in FIG. 12, a frequency ofone or more features of the imaged object of object 1202 may be linearlyproportional to the radius of the imaged object. Accordingly,application 160 (FIG. 1) may be configured to select the radiusaccording to the distance in which the imaged object was captured, andmay be able to analyze a contrast along one or more angles.

For example, the contrast may be compared between a plurality ofdifferent magnifications, e.g., corresponding to a plurality ofdifferent distances from the imaged object, while analyzing the samespatial frequencies of the imaged object.

In some demonstrative embodiments, as shown in FIG. 12, the one or morecalibration objects 1204, 1206, 1208, and/or 1210 may be used, e.g., byapplication 160 (FIG. 1), as “known size” elements, for example, todetermine a distance between an image capturing device, e.g., camera 118(FIG. 1), and object 1202.

In some demonstrative embodiments, as shown in FIG. 12, calibrationelement 1210 may include, for example, a rectangle of a first color,e.g., blue, and/or calibration elements 1204, 1206 and 1208 may include,for example, three cubes of a second color, e.g., green, for example,for orientation features.

In some demonstrative embodiments, as shown in FIG. 12, object 1202 mayinclude an inner circle 1203, which is mostly close to the center ofregion of object 1202.

In some demonstrative embodiments, inner circle 1203 may be used, e.g.,by application 160 (FIG. 1) as a calibration element.

In some demonstrative embodiments, different colors, e.g., for the oneor more elements of FIG. 12, may be used to enhance chromatic effects ofthe lens of camera 118 (FIG. 1).

In some demonstrative embodiments, using the different colors may enableto separate between the one or more elements, for example, by imageprocessing, e.g., at application 160 (FIG. 1).

In some demonstrative embodiments, application 160 (FIG. 1) may beconfigured to use the known size elements, e.g., calibration elements1204, 1206, 1208, and/or 1210, at a known predetermined size atdifferent locations with respect to object 1202, for example, to analyzea perspective deformation, which may result, for example, frommisalignment of the plane of object 1202 and the plane of the sensor ofthe camera 118 (FIG. 1), and/or to consider and/or correct theperspective deformation.

Reference is made to FIG. 13, which schematically illustrates a graphdepicting a distance (1/m) of an object versus contrast, in accordancewith some demonstrative embodiments.

In some demonstrative embodiments, as shown in FIG. 13, the asterisks inthe graph may identify a distance (1/m), e.g., over the X-axis, at whichan image of an object was captured, and a contrast value correspondingto a contrast of the captured image, e.g., over the Y-axis.

In one example, the distance may be determined, e.g., by application 160(FIG. 1) for example, based on known size elements, e.g., elements 1203,1204, 1206, 1208 and/or 1210 (FIG. 12).

In some demonstrative embodiments, as shown in FIG. 13, a black cubemarker 1302 may depict a reference image captured via the lens.

In some demonstrative embodiments, as shown in FIG. 13, a line 1306 mayinclude a fitting model correlation, e.g., to identify a sharpestlocation in a precise manner, which is depicted by cross 1307.

In one example, the reference image may be captured at a first distanceof 355 mm, which may be equal to a first diopter value of 2.817Diopters. According to this example, the sharpest image may be locatedat a second distance corresponding to a second diopter value of 5.8Diopters, e.g., marked by the cross 1307. Accordingly, application 160(FIG. 1) may determine the spherical power of the lens to include thedifference between the first and second diopters values, e.g.,2.8-5.8=−3 Diopters.

In some demonstrative embodiments, application 160 (FIG. 1) may beconfigured to determine which objects to display on display 130 (FIG.1).

Referring back to FIG. 1, in some demonstrative embodiments, application160 may be configured to calibrate display 130.

In some demonstrative embodiments, a size of the display 130 may beknown.

In some demonstrative embodiments, the display size of the display 130may be known, for example, if the display is integrated within aportable device, e.g., a Smartphone or a tablet, e.g., based on themodel of the device.

In some demonstrative embodiments, a calibration of the display size ofthe display may be performed.

Reference is made to FIG. 14, which schematically illustrates a system1400 to calibrate a display size 1402 of a display device 1430, inaccordance with some demonstrative embodiments. For example, display1430 may perform the functionality of display 130 (FIG. 1).

In some demonstrative embodiments, application 160 (FIG. 1) may performa calibration process and/or procedure, for example, to calibrate thedisplay size 1402.

In some demonstrative embodiments, a scale to one or more features ofknown size over the display may be applied. The scaling may be automatedby recognizing one or more known size features of the object and byrecognizing one or more features of the frame, e.g., using imageprocessing.

In some demonstrative embodiments, the calibration process may includeadjusting a size of a feature on the display to a known size object1406, for example, a magnetic card, a CD or any other known size object.

In some demonstrative embodiments, the calibration procedure may includecapturing by an image capturing device 1412, e.g., camera 118 (FIG. 1),an image including a predefined object displayed on the display 1430,and the known size object 1406 placed upon the display 1430.

In some demonstrative embodiments, a scaling procedure may be configuredto match the size of the predefined object into absolute dimensions, forexample, to match the size of the predefined object to the size of knownsize object 1406.

In some demonstrative embodiments, the scaling procedure may include,for example, detecting one or more features of the predefined object,e.g., using image processing, and one or more features of the known sizeobject 1406.

In some demonstrative embodiments, the scaling procedure may include,for example, measuring at least a length of the predefined object ascaptured by a camera of the device 1412, and comparing the length of thepredefined object to a length of the known size object 1406.

In some demonstrative embodiments, a size of the predefined object maybe of any shape and size and may not have to match a size and/or the oneor more features of the known size object.

In some demonstrative embodiments, a manual adjustment of the featuresof the predefined object may be performed to match the size or otherfeatures of the known size object 1406, while a change of the manualadjustment is recorded and set for a required scale of the display 1430.

In some demonstrative embodiments, one or more additional or alternativemethods to scale the display may be performed.

In one example, a method may include capturing an image of the display1430 from a predefined distance, while a predefined object is displayedon the display, for example, without using the known size object.

In some demonstrative embodiments, a scale of the image to the plane ofthe display can be deduced, e.g., as follows:

$\begin{matrix}{h \cong {\frac{efl}{pitch}*\frac{{camera\_ screen}{\_ distance}}{h^{\prime}{\_ pixel}{\_ estimated}}}} & (6)\end{matrix}$

wherein h denotes an absolute size of the predefined object feature asdisplayed on the display.

In some demonstrative embodiments, determining the scale may beperformed using suitable methods, for example, if measuring the realsize of the predefined object displayed on the display, to match apredefined size.

Reference is made to FIG. 15, which schematically illustrates a methodof determining one or more optical parameters of a lens, in accordancewith some demonstrative embodiments. For example, one or operations ofthe method of FIG. 15 may be performed by a system, e.g., system 100(FIG. 1); a mobile device, e.g., device 102 (FIG. 1); a server, e.g.,server 170 (FIG. 1); a display, e.g., display 130 (FIG. 1); and/or anapplication, e.g., application 160 (FIG. 1).

As indicated at block 1502, the method may include processing at leastone image of an object captured via the lens. For example, application160 (FIG. 1) may process the at least one image captured via the lens ofthe object displayed over display 130 (FIG. 1), e.g., as describedabove.

As indicated at block 1504, the method may include determining the oneor more optical parameters of the lens based on said at least one image.For example, application 160 (FIG. 1) may determine the one or moreoptical parameters of the lens based on the at least one image.

Referring back to FIG. 1, in some demonstrative embodiments, application160 may be configured to determine the one or more optical parameters ofa lens, for example, even without using display 130. For example,application 160 may be configured to determine a cylindrical power,and/or a cylinder angle and/or a spherical power of the lens, forexample, even without using display 130, e.g., as described below.

In some demonstrative embodiments, application 160 may be configured todetermine the one or more optical parameters of a lens, for example,even without displaying an image on display 130.

In some demonstrative embodiments, application 160 may be configured todetermine the one or more optical parameters of a lens, for example,based on a captured image of an object having a known size, e.g., asdescribed below.

In some demonstrative embodiments, lens parameters such as sphere power,cylinder power and/or cylinder angle may be found, for example, by usinga camera or a Smartphone device and an object of a known size.

In some demonstrative embodiments, by taking an image of the object ofknown size through the lens, the lens parameters may be found.

In some demonstrative embodiments, the object of known size may include,for example, a coin having a known size, an Iris of the eye or acalibrated iris diameter of the eye, and/or any other object or element.

In some demonstrative embodiments, using the known size object may allowdetermining the one or more optical parameters of a lens, for example,even without using a screen to display an object, and/or even withoutcalibration prior to measurement of the lens parameters.

In some demonstrative embodiments, the lens power and/or cylinderparameters may be deduced from a deformation of the observed image ofthe known size object through the tested lens relative to an image ofthe known size object, which may be observed directly without the testlens.

In some demonstrative embodiments, spectacle glasses parameters, e.g., asphere power, a cylinder power and/or a cylinder angle, may bedetermined, for example, using a camera or a Smartphone device, e.g.,even without using an external object of known size.

In some demonstrative embodiments, by taking an image of an eye of awearer of the spectacles, it may be possible to analyze a change in anIris size of the Iris of the wearer resulting from the spectacleglasses. For example, an image of the Iris with and without thespectacles may be compared and analyzed, e.g., to determine thespectacle glasses parameters.

In some demonstrative embodiments, if needed, an iris absolute size maybe calibrated, for example, using a known size object, e.g., a coin or acredit card.

Reference is made to FIG. 16, which schematically illustrates a productof manufacture 1600, in accordance with some demonstrative embodiments.Product 1600 may include one or more tangible computer-readablenon-transitory storage media 1602, which may include computer-executableinstructions, e.g., implemented by logic 1604, operable to, whenexecuted by at least one computer processor, enable the at least onecomputer processor to implement one or more operations at device 102(FIG. 1), server 170 (FIG. 1), display 130 (FIG. 1), and/or application160 (FIG. 1), and/or to perform, trigger and/or implement one or moreoperations, communications and/or functionalities according to FIGS.1-15, and/or one or more operations described herein. The phrase“non-transitory machine-readable medium” is directed to include allcomputer-readable media, with the sole exception being a transitorypropagating signal.

In some demonstrative embodiments, product 1600 and/or machine-readablestorage medium 1602 may include one or more types of computer-readablestorage media capable of storing data, including volatile memory,non-volatile memory, removable or non-removable memory, erasable ornon-erasable memory, writeable or re-writeable memory, and the like. Forexample, machine-readable storage medium 1602 may include, RAM, DRAM,Double-Data-Rate DRAM (DDR-DRAM), SDRAM, static RAM (SRAM), ROM,programmable ROM (PROM), erasable programmable ROM (EPROM), electricallyerasable programmable ROM (EEPROM), Compact Disk ROM (CD-ROM), CompactDisk Recordable (CD-R), Compact Disk Rewriteable (CD-RW), flash memory(e.g., NOR or NAND flash memory), content addressable memory (CAM),polymer memory, phase-change memory, ferroelectric memory,silicon-oxide-nitride-oxide-silicon (SONOS) memory, a disk, a floppydisk, a hard drive, an optical disk, a magnetic disk, a card, a magneticcard, an optical card, a tape, a cassette, and the like. Thecomputer-readable storage media may include any suitable media involvedwith downloading or transferring a computer program from a remotecomputer to a requesting computer carried by data signals embodied in acarrier wave or other propagation medium through a communication link,e.g., a modem, radio or network connection.

In some demonstrative embodiments, logic 1604 may include instructions,data, and/or code, which, if executed by a machine, may cause themachine to perform a method, process and/or operations as describedherein. The machine may include, for example, any suitable processingplatform, computing platform, computing device, processing device,computing system, processing system, computer, processor, or the like,and may be implemented using any suitable combination of hardware,software, firmware, and the like.

In some demonstrative embodiments, logic 1604 may include, or may beimplemented as, software, a software module, an application, a program,a subroutine, instructions, an instruction set, computing code, words,values, symbols, and the like. The instructions may include any suitabletype of code, such as source code, compiled code, interpreted code,executable code, static code, dynamic code, and the like. Theinstructions may be implemented according to a predefined computerlanguage, manner or syntax, for instructing a processor to perform acertain function. The instructions may be implemented using any suitablehigh-level, low-level, object-oriented, visual, compiled and/orinterpreted programming language, such as C, C++, Java, BASIC, Matlab,Pascal, Visual BASIC, assembly language, machine code, and the like.

EXAMPLES

The following examples pertain to further embodiments.

Example 1 includes a product comprising one or more tangiblecomputer-readable non-transitory storage media comprisingcomputer-executable instructions operable to, when executed by at leastone computer processor, enable the at least one computer processor toimplement operations of determining one or more optical parameters of alens of eyeglasses, the operations comprising processing at least oneimage of an object captured via the lens; and determining the one ormore optical parameters of the lens based on the at least one image.

Example 2 includes the subject matter of Example 1, and optionally,wherein the operations comprise determining a power of the lens based onautofocus information of an image-capturing device, when the image iscaptured.

Example 3 includes the subject matter of Example 2, and optionally,wherein the operations comprise processing a first image of the objectcaptured via the lens at a first distance between the object and theimage-capturing device, and a second image of the object capturedwithout the lens at a second distance between the object and theimage-capturing device, and determining the power of the lens based onthe first and second distances, first autofocus information of theimage-capturing device when the first image is captured, and secondautofocus information of the image-capturing device when the secondimage is captured.

Example 4 includes the subject matter of any one of Examples 1-3, andoptionally, wherein the operations comprise determining a power of thelens based on a sharpness parameter of a sharpness of one or morespatial frequencies in the image.

Example 5 includes the subject matter of Example 4, and optionally,wherein the operations comprise processing a plurality of images of theobject captured not via the lens at a respective plurality of distancesbetween the object and an image-capturing device, determining a sharpestimage of the plurality of images comprising the one or more spatialfrequencies, and determining the power of the lens based on a firstdistance between the object and the image-capturing device, when thesharpest image is captured and a second distance between the object andthe image-capturing device, when the at least one image is captured viathe lens.

Example 6 includes the subject matter of any one of Examples 1-5, andoptionally, wherein the operations comprise determining the one or moreoptical parameters of the lens based at least on one or more dimensionsof the object.

Example 7 includes the subject matter of Example 6, and optionally,wherein the operations comprise determining one or more imageddimensions of the object in the image, and determining the one or moreoptical parameters of the lens based at least on a magnification betweenthe one or more dimensions and the one or more imaged dimensions.

Example 8 includes the subject matter of any one of Examples 1-7, andoptionally, wherein the operations comprise identifying an existence ofa cylindrical axis of the lens based on one or more visual affects ofone or more spatial frequencies in the image.

Example 9 includes the subject matter of Example 8, and optionally,wherein the operations comprise determining the cylindrical axis basedat least on an angle of a non-symmetrical blur of the one or morespatial frequencies.

Example 10 includes the subject matter of Example 8 or 9, andoptionally, wherein the operations comprise determining existence of thecylindrical axis based at least on an angle of a sharpest portion of thespatial frequencies.

Example 11 includes the subject matter of any one of Examples 1-10, andoptionally, wherein the operations comprise determining a cylindricalaxis of the lens based on a comparison between one or more spatialelements of the object and one or more imaged spatial elements in theimage.

Example 12 includes the subject matter of Example 11, and optionally,wherein the operations comprise processing a plurality of imagescorresponding to a plurality of rotations of the spatial elements in aplurality of angles, determining a plurality of magnifications betweenthe one or more spatial elements of the object and the one or moreimaged spatial elements, and determining the cylindrical axis based onthe magnifications.

Example 13 includes the subject matter of any one of Examples 1-12, andoptionally, wherein the operations comprise determining the one or moreoptical parameters of the lens based on a distance between the objectand an image-capturing device, when the image is captured.

Example 14 includes the subject matter of Example 13, and optionally,wherein the operations comprise determining the distance between theobject and the image-capturing device, based on acceleration informationindicating an acceleration of the image capturing device.

Example 15 includes the subject matter of any one of Examples 1-14, andoptionally, wherein the operations comprise determining a cylindricalpower of the lens based on a cylindrical axis of the lens.

Example 16 includes the subject matter of Example 15, and optionally,wherein the operations comprise determining a first power of the lens atthe cylindrical axis, determining a second power of the lens at aperpendicular axis, which is perpendicular to the cylindrical axis, anddetermining the cylindrical power based on the first and second powers.

Example 17 includes the subject matter of any one of Examples 1-16, andoptionally, wherein the operations comprise determining a pupillarydistance between the lens and an other lens of the eyeglasses based on adistance between a first center of the lens and a second center of theother lens.

Example 18 includes the subject matter of Example 17, and optionally,wherein the operations comprise processing a first image of the object,which is captured without the lens; identifying a second image capturedvia the lens, which co-aligns with the first image; determining a firstlocation when the second image is captured; identifying a third imagecaptured via the other lens, which co-aligns with the first image;determining a second location when the third image is captured; anddetermining the pupillary distance based on the first and secondlocations.

Example 19 includes the subject matter of any one of Examples 1-18, andoptionally, wherein the operations comprise determining a sign of thelens based on the at least one image.

Example 20 includes the subject matter of Example 19, and optionally,wherein the operations comprise identifying a movement pattern in aplurality of captured images, the plurality of captured imagescomprising images of the object captured via the lens when the lens ismoved in a particular direction, and determining the sign of the lensbased on the movement pattern.

Example 21 includes the subject matter of any one of Examples 1-20, andoptionally, wherein the operations comprise determining the one or moreoptical parameters of the lens based on a single frame including the atleast one image of the object via the lens.

Example 22 includes the subject matter of any one of Examples 1-21, andoptionally, wherein the one or more optical parameters of the lenscomprise one or more parameters selected form the group consisting of aspherical power, a cylindrical power, a cylindrical axis, and apupillary distance between lenses of the eyeglasses.

Example 23 includes the subject matter of any one of Examples 1-22, andoptionally, wherein the operations comprise causing a display device todisplay the object.

Example 24 includes the subject matter of Example 23, and optionally,wherein the operations comprise calibrating a display size of the objecton the display device.

Example 25 includes the subject matter of any one of Examples 1-24, andoptionally, wherein the object comprises an object having one or moreknown dimensions, the operations comprising determining the opticalparameters based on the dimensions.

Example 26 includes the subject matter of any one of Examples 1-25, andoptionally, wherein the object comprises a circularly symmetric orrotationally symmetric object.

Example 27 includes the subject matter of any one of Examples 1-26, andoptionally, wherein the operations comprise causing an image capturingdevice to capture the image of the object.

Example 28 includes a mobile device configured to determine one or moreoptical parameters of a lens of eyeglasses, the mobile device comprisinga camera to capture at least one image of an object via the lens; and alensometer module to determine the one or more optical parameters of thelens based on the at least one image.

Example 29 includes the subject matter of Example 28, and optionally,wherein the mobile device is configured to determine a power of the lensbased on autofocus information of the camera, when the image iscaptured.

Example 30 includes the subject matter of Example 29, and optionally,wherein the mobile device is configured to process a first image of theobject captured via the lens at a first distance between the object andthe camera, and a second image of the object captured without the lensat a second distance between the object and the camera, and to determinethe power of the lens based on the first and second distances, firstautofocus information of the camera when the first image is captured,and second autofocus information of the camera when the second image iscaptured.

Example 31 includes the subject matter of any one of Examples 28-30, andoptionally, wherein the mobile device is configured to determine a powerof the lens based on a sharpness parameter of a sharpness of one or morespatial frequencies in the image.

Example 32 includes the subject matter of Example 31, and optionally,wherein the mobile device is configured to process a plurality of imagesof the object captured not via the lens at a respective plurality ofdistances between the object and the camera, to determine a sharpestimage of the plurality of images comprising the one or more spatialfrequencies, and to determine the power of the lens based on a firstdistance between the object and the camera, when the sharpest image iscaptured and a second distance between the object and the camera, whenthe at least one image is captured via the lens.

Example 33 includes the subject matter of any one of Examples 28-32, andoptionally, wherein the mobile device is configured to determine the oneor more optical parameters of the lens based at least on one or moredimensions of the object.

Example 34 includes the subject matter of Example 33, and optionally,wherein the mobile device is configured to determine one or more imageddimensions of the object in the image, and to determine the one or moreoptical parameters of the lens based at least on a magnification betweenthe one or more dimensions and the one or more imaged dimensions.

Example 35 includes the subject matter of any one of Examples 28-34, andoptionally, wherein the mobile device is configured to identify anexistence of a cylindrical axis of the lens based on one or more visualaffects of one or more spatial frequencies in the image.

Example 36 includes the subject matter of Example 35, and optionally,wherein the mobile device is configured to determine the cylindricalaxis based at least on an angle of a non-symmetrical blur of the one ormore spatial frequencies.

Example 37 includes the subject matter of Example 35 or 36, andoptionally, wherein the mobile device is configured to determineexistence of the cylindrical axis based at least on an angle of asharpest portion of the spatial frequencies.

Example 38 includes the subject matter of any one of Examples 28-37, andoptionally, wherein the mobile device is configured to determine acylindrical axis of the lens based on a comparison between one or morespatial elements of the object and one or more imaged spatial elementsin the image.

Example 39 includes the subject matter of Example 38, and optionally,wherein the mobile device is configured to process a plurality of imagescorresponding to a plurality of rotations of the spatial elements in aplurality of angles, to determine a plurality of magnifications betweenthe one or more spatial elements of the object and the one or moreimaged spatial elements, and to determine the cylindrical axis based onthe magnifications.

Example 40 includes the subject matter of any one of Examples 28-39, andoptionally, wherein the mobile device is configured to determine the oneor more optical parameters of the lens based on a distance between theobject and the camera, when the image is captured.

Example 41 includes the subject matter of Example 40, and optionally,wherein the mobile device is configured to determine the distancebetween the object and the camera, based on acceleration informationindicating an acceleration of the camera device.

Example 42 includes the subject matter of any one of Examples 28-41, andoptionally, wherein the mobile device is configured to determine acylindrical power of the lens based on a cylindrical axis of the lens.

Example 43 includes the subject matter of Example 42, and optionally,wherein the mobile device is configured to determine a first power ofthe lens at the cylindrical axis, to determine a second power of thelens at a perpendicular axis, which is perpendicular to the cylindricalaxis, and to determine the cylindrical power based on the first andsecond powers.

Example 44 includes the subject matter of any one of Examples 28-43, andoptionally, wherein the mobile device is configured to determine apupillary distance between the lens and an other lens of the eyeglassesbased on a distance between a first center of the lens and a secondcenter of the other lens.

Example 45 includes the subject matter of Example 44, and optionally,wherein the mobile device is configured to process a first image of theobject, which is captured without the lens; identify a second imagecaptured via the lens, which co-aligns with the first image; determine afirst location when the second image is captured; identify a third imagecaptured via the other lens, which co-aligns with the first image;determine a second location when the third image is captured; anddetermine the pupillary distance based on the first and secondlocations.

Example 46 includes the subject matter of any one of Examples 28-45, andoptionally, wherein the mobile device is configured to determine a signof the lens based on the at least one image.

Example 47 includes the subject matter of Example 46, and optionally,wherein the mobile device is configured to identify a movement patternin a plurality of captured images, the plurality of captured imagescomprising images of the object captured via the lens when the lens ismoved in a particular direction, and to determine the sign of the lensbased on the movement pattern.

Example 48 includes the subject matter of any one of Examples 28-47, andoptionally, wherein the mobile device is configured to determine the oneor more optical parameters of the lens based on a single frame includingthe at least one image of the object via the lens.

Example 49 includes the subject matter of any one of Examples 28-48, andoptionally, wherein the one or more optical parameters of the lenscomprise one or more parameters selected form the group consisting of aspherical power, a cylindrical power, a cylindrical axis, and apupillary distance between lenses of the eyeglasses.

Example 50 includes the subject matter of any one of Examples 28-49, andoptionally, wherein the mobile device is configured to cause a displaydevice to display the object.

Example 51 includes the subject matter of Example 50, and optionally,wherein the mobile device is configured to calibrate a display size ofthe object on the display device.

Example 52 includes the subject matter of any one of Examples 28-51, andoptionally, wherein the object comprises an object having one or moreknown dimensions, the mobile device configured to determine the opticalparameters based on the dimensions.

Example 53 includes the subject matter of any one of Examples 28-52, andoptionally, wherein the object comprises a circularly symmetric orrotationally symmetric object.

Example 54 includes the subject matter of any one of Examples 28-53, andoptionally, wherein the mobile device is configured to cause the camerato capture the image of the object.

Example 55 includes a method of determining one or more opticalparameters of a lens of eyeglasses, the method comprising processing atleast one image of an object captured via the lens; and determining theone or more optical parameters of the lens based on the at least oneimage.

Example 56 includes the subject matter of Example 55, and optionally,comprising determining a power of the lens based on autofocusinformation of an image-capturing device, when the image is captured.

Example 57 includes the subject matter of Example 56, and optionally,comprising processing a first image of the object captured via the lensat a first distance between the object and the image-capturing device,and a second image of the object captured without the lens at a seconddistance between the object and the image-capturing device, anddetermining the power of the lens based on the first and seconddistances, first autofocus information of the image-capturing devicewhen the first image is captured, and second autofocus information ofthe image-capturing device when the second image is captured.

Example 58 includes the subject matter of any one of Examples 55-57, andoptionally, comprising determining a power of the lens based on asharpness parameter of a sharpness of one or more spatial frequencies inthe image.

Example 59 includes the subject matter of Example 58, and optionally,comprising processing a plurality of images of the object captured notvia the lens at a respective plurality of distances between the objectand an image-capturing device, determining a sharpest image of theplurality of images comprising the one or more spatial frequencies, anddetermining the power of the lens based on a first distance between theobject and the image-capturing device, when the sharpest image iscaptured and a second distance between the object and theimage-capturing device, when the at least one image is captured via thelens.

Example 60 includes the subject matter of any one of Examples 55-59, andoptionally, comprising determining the one or more optical parameters ofthe lens based at least on one or more dimensions of the object.

Example 61 includes the subject matter of Example 60, and optionally,comprising determining one or more imaged dimensions of the object inthe image, and determining the one or more optical parameters of thelens based at least on a magnification between the one or moredimensions and the one or more imaged dimensions.

Example 62 includes the subject matter of any one of Examples 55-61, andoptionally, comprising identifying an existence of a cylindrical axis ofthe lens based on one or more visual affects of one or more spatialfrequencies in the image.

Example 63 includes the subject matter of Example 62, and optionally,comprising determining the cylindrical axis based at least on an angleof a non-symmetrical blur of the one or more spatial frequencies.

Example 64 includes the subject matter of Example 62 or 63, andoptionally, comprising determining existence of the cylindrical axisbased at least on an angle of a sharpest portion of the spatialfrequencies.

Example 65 includes the subject matter of any one of Examples 55-64, andoptionally, comprising determining a cylindrical axis of the lens basedon a comparison between one or more spatial elements of the object andone or more imaged spatial elements in the image.

Example 66 includes the subject matter of Example 65, and optionally,comprising processing a plurality of images corresponding to a pluralityof rotations of the spatial elements in a plurality of angles,determining a plurality of magnifications between the one or morespatial elements of the object and the one or more imaged spatialelements, and determining the cylindrical axis based on themagnifications.

Example 67 includes the subject matter of any one of Examples 55-66, andoptionally, comprising determining the one or more optical parameters ofthe lens based on a distance between the object and an image-capturingdevice, when the image is captured.

Example 68 includes the subject matter of Example 67, and optionally,comprising determining the distance between the object and theimage-capturing device, based on acceleration information indicating anacceleration of the image capturing device.

Example 69 includes the subject matter of any one of Examples 55-68, andoptionally, comprising determining a cylindrical power of the lens basedon a cylindrical axis of the lens.

Example 70 includes the subject matter of Example 69, and optionally,comprising determining a first power of the lens at the cylindricalaxis, determining a second power of the lens at a perpendicular axis,which is perpendicular to the cylindrical axis, and determining thecylindrical power based on the first and second powers.

Example 71 includes the subject matter of any one of Examples 55-70, andoptionally, comprising determining a pupillary distance between the lensand an other lens of the eyeglasses based on a distance between a firstcenter of the lens and a second center of the other lens.

Example 72 includes the subject matter of Example 71, and optionally,comprising processing a first image of the object, which is capturedwithout the lens; identifying a second image captured via the lens,which co-aligns with the first image; determining a first location whenthe second image is captured; identifying a third image captured via theother lens, which co-aligns with the first image; determining a secondlocation when the third image is captured; and determining the pupillarydistance based on the first and second locations.

Example 73 includes the subject matter of any one of Examples 55-72, andoptionally, comprising determining a sign of the lens based on the atleast one image.

Example 74 includes the subject matter of Example 73, and optionally,comprising identifying a movement pattern in a plurality of capturedimages, the plurality of captured images comprising images of the objectcaptured via the lens when the lens is moved in a particular direction,and determining the sign of the lens based on the movement pattern.

Example 75 includes the subject matter of any one of Examples 55-74, andoptionally, comprising determining the one or more optical parameters ofthe lens based on a single frame including the at least one image of theobject via the lens.

Example 76 includes the subject matter of any one of Examples 55-75, andoptionally, wherein the one or more optical parameters of the lenscomprise one or more parameters selected form the group consisting of aspherical power, a cylindrical power, a cylindrical axis, and apupillary distance between lenses of the eyeglasses.

Example 77 includes the subject matter of any one of Examples 55-76, andoptionally, comprising causing a display device to display the object.

Example 78 includes the subject matter of Example 77, and optionally,comprising calibrating a display size of the object on the displaydevice.

Example 79 includes the subject matter of any one of Examples 55-78, andoptionally, wherein the object comprises an object having one or moreknown dimensions, the method comprising determining the opticalparameters based on the dimensions.

Example 80 includes the subject matter of any one of Examples 55-79, andoptionally, wherein the object comprises a circularly symmetric orrotationally symmetric object.

Example 81 includes the subject matter of any one of Examples 55-80, andoptionally, comprising causing an image capturing device to capture theimage of the object.

Example 82 includes an apparatus to determine one or more opticalparameters of a lens of eyeglasses, the apparatus comprising means forprocessing at least one image of an object captured via the lens; andmeans for determining the one or more optical parameters of the lensbased on the at least one image.

Example 83 includes the subject matter of Example 82, and optionally,comprising means for determining a power of the lens based on autofocusinformation of an image-capturing device, when the image is captured.

Example 84 includes the subject matter of Example 83, and optionally,comprising means for processing a first image of the object captured viathe lens at a first distance between the object and the image-capturingdevice, and a second image of the object captured without the lens at asecond distance between the object and the image-capturing device, anddetermining the power of the lens based on the first and seconddistances, first autofocus information of the image-capturing devicewhen the first image is captured, and second autofocus information ofthe image-capturing device when the second image is captured.

Example 85 includes the subject matter of any one of Examples 82-84, andoptionally, comprising means for determining a power of the lens basedon a sharpness parameter of a sharpness of one or more spatialfrequencies in the image.

Example 86 includes the subject matter of Example 85, and optionally,comprising means for processing a plurality of images of the objectcaptured not via the lens at a respective plurality of distances betweenthe object and an image-capturing device, determining a sharpest imageof the plurality of images comprising the one or more spatialfrequencies, and determining the power of the lens based on a firstdistance between the object and the image-capturing device, when thesharpest image is captured and a second distance between the object andthe image-capturing device, when the at least one image is captured viathe lens.

Example 87 includes the subject matter of any one of Examples 82-86, andoptionally, comprising means for determining the one or more opticalparameters of the lens based at least on one or more dimensions of theobject.

Example 88 includes the subject matter of Example 87, and optionally,comprising means for determining one or more imaged dimensions of theobject in the image, and determining the one or more optical parametersof the lens based at least on a magnification between the one or moredimensions and the one or more imaged dimensions.

Example 89 includes the subject matter of any one of Examples 82-88, andoptionally, comprising means for identifying an existence of acylindrical axis of the lens based on one or more visual affects of oneor more spatial frequencies in the image.

Example 90 includes the subject matter of Example 89, and optionally,comprising means for determining the cylindrical axis based at least onan angle of a non-symmetrical blur of the one or more spatialfrequencies.

Example 91 includes the subject matter of Example 89 or 90, andoptionally, comprising means for determining existence of thecylindrical axis based at least on an angle of a sharpest portion of thespatial frequencies.

Example 92 includes the subject matter of any one of Examples 82-91, andoptionally, comprising means for determining a cylindrical axis of thelens based on a comparison between one or more spatial elements of theobject and one or more imaged spatial elements in the image.

Example 93 includes the subject matter of Example 92, and optionally,comprising means for processing a plurality of images corresponding to aplurality of rotations of the spatial elements in a plurality of angles,determining a plurality of magnifications between the one or morespatial elements of the object and the one or more imaged spatialelements, and determining the cylindrical axis based on themagnifications.

Example 94 includes the subject matter of any one of Examples 82-93, andoptionally, comprising means for determining the one or more opticalparameters of the lens based on a distance between the object and animage-capturing device, when the image is captured.

Example 95 includes the subject matter of Example 94, and optionally,comprising means for determining the distance between the object and theimage-capturing device, based on acceleration information indicating anacceleration of the image capturing device.

Example 96 includes the subject matter of any one of Examples 82-95, andoptionally, comprising means for determining a cylindrical power of thelens based on a cylindrical axis of the lens.

Example 97 includes the subject matter of Example 96, and optionally,comprising means for determining a first power of the lens at thecylindrical axis, determining a second power of the lens at aperpendicular axis, which is perpendicular to the cylindrical axis, anddetermining the cylindrical power based on the first and second powers.

Example 98 includes the subject matter of any one of Examples 82-97, andoptionally, comprising means for determining a pupillary distancebetween the lens and an other lens of the eyeglasses based on a distancebetween a first center of the lens and a second center of the otherlens.

Example 99 includes the subject matter of Example 98, and optionally,comprising means for processing a first image of the object, which iscaptured without the lens; means for identifying a second image capturedvia the lens, which co-aligns with the first image; means fordetermining a first location when the second image is captured; meansfor identifying a third image captured via the other lens, whichco-aligns with the first image; means for determining a second locationwhen the third image is captured; and means for determining thepupillary distance based on the first and second locations.

Example 100 includes the subject matter of any one of Examples 82-99,and optionally, comprising means for determining a sign of the lensbased on the at least one image.

Example 101 includes the subject matter of Example 100, and optionally,comprising means for identifying a movement pattern in a plurality ofcaptured images, the plurality of captured images comprising images ofthe object captured via the lens when the lens is moved in a particulardirection, and determining the sign of the lens based on the movementpattern.

Example 102 includes the subject matter of any one of Examples 82-101,and optionally, comprising means for determining the one or more opticalparameters of the lens based on a single frame including the at leastone image of the object via the lens.

Example 103 includes the subject matter of any one of Examples 82-102,and optionally, wherein the one or more optical parameters of the lenscomprise one or more parameters selected form the group consisting of aspherical power, a cylindrical power, a cylindrical axis, and apupillary distance between lenses of the eyeglasses.

Example 104 includes the subject matter of any one of Examples 82-103,and optionally, comprising means for causing a display device to displaythe object.

Example 105 includes the subject matter of Example 104, and optionally,comprising means for calibrating a display size of the object on thedisplay device.

Example 106 includes the subject matter of any one of Examples 82-105,and optionally, wherein the object comprises an object having one ormore known dimensions, the apparatus comprising means for determiningthe optical parameters based on the dimensions.

Example 107 includes the subject matter of any one of Examples 82-106,and optionally, wherein the object comprises a circularly symmetric orrotationally symmetric object.

Example 108 includes the subject matter of any one of Examples 82-107,and optionally, comprising means for causing an image capturing deviceto capture the image of the object.

Functions, operations, components and/or features described herein withreference to one or more embodiments, may be combined with, or may beutilized in combination with, one or more other functions, operations,components and/or features described herein with reference to one ormore other embodiments, or vice versa.

While certain features have been illustrated and described herein, manymodifications, substitutions, changes, and equivalents may occur tothose skilled in the art. It is, therefore, to be understood that theappended claims are intended to cover all such modifications and changesas fall within the true spirit of the disclosure.

What is claimed is:
 1. A product comprising one or more tangiblecomputer-readable non-transitory storage media comprisingcomputer-executable instructions operable to, when executed by at leastone computer processor, enable the at least one computer processor tocause a computing device to: process an image of an object captured byan image-capturing device via a lens of eyeglasses when said lens isbetween the image-capturing device and the object; determine anestimated distance, the estimated distance is between the object and theimage-capturing device when the image of the object is captured by theimage-capturing device; determine a calculated magnification based on adimension of the object and an imaged dimension of the object in theimage; determine one or more optical parameters of said lens based onsaid estimated distance and said calculated magnification; and providean output based on the one or more optical parameters of said lens. 2.The product of claim 1, wherein the instructions, when executed, causethe computing device to process an image of a graphical displaycomprising a first object and a second object, the image of thegraphical display comprising a first image of the first object capturedby the image-capturing device via the lens, and a second image of thesecond object captured by the image-capturing device not via the lens,and wherein the instructions, when executed, cause the computing deviceto determine the calculated magnification based on a dimension of thefirst object and an imaged dimension of the first object in the firstimage, and to determine the estimated distance by determining anestimated distance between the image-capturing device and the graphicaldisplay based on the second image of the second object.
 3. The productof claim 1, wherein the instructions, when executed, cause the computingdevice to determine the estimated distance between the object and theimage-capturing device based on a predefined object in the imagecaptured by the image-capturing device.
 4. The product of claim 1,wherein the instructions, when executed, cause the computing device toidentify an existence of a cylindrical axis of the lens based on theimage, to determine a first power of the lens corresponding to saidcylindrical axis based on the calculated magnification, to determine asecond power of said lens corresponding to a perpendicular axis, whichis perpendicular to said cylindrical axis, and to determine acylindrical power of said lens based on said first and second powers. 5.The product of claim 4, wherein the instructions, when executed, causethe computing device to determine a spherical power of the lens based onthe first power.
 6. The product of claim 4, wherein the imaged dimensionof the object in the image comprises an imaged dimension of an elementof the object corresponding to the cylindrical axis.
 7. The product ofclaim 1, wherein the instructions, when executed, cause the computingdevice to determine a power of the lens based on autofocus informationof the image-capturing device, when said image is captured.
 8. Theproduct of claim 7, wherein the instructions, when executed, cause thecomputing device to process a first image of said object captured viasaid lens at a first distance between said object and saidimage-capturing device, and a second image of said object capturedwithout said lens at a second distance between said object and saidimage-capturing device, and to determine the power of the lens based onsaid first and second distances, first autofocus information of saidimage-capturing device when said first image is captured, and secondautofocus information of said image-capturing device when said secondimage is captured.
 9. The product of claim 1, wherein the instructions,when executed, cause the computing device to determine a power of thelens based on a sharpness parameter of a sharpness of one or morespatial frequencies in said image.
 10. The product of claim 9, whereinthe instructions, when executed, cause the computing device to process aplurality of images of said object captured not via said lens at arespective plurality of distances between said object and theimage-capturing device, to determine a sharpest image of said pluralityof images comprising the one or more spatial frequencies, and todetermine the power of the lens based on a first distance between saidobject and said image-capturing device, when said sharpest image iscaptured and a second distance between said object and saidimage-capturing device, when said at least one image is captured viasaid lens.
 11. The product of claim 1, wherein the instructions, whenexecuted, cause the computing device to identify an existence of acylindrical axis of the lens based on one or more visual affects of oneor more spatial frequencies in said image.
 12. The product of claim 11,wherein the instructions, when executed, cause the computing device todetermine said cylindrical axis based at least on an angle of anon-symmetrical blur of said one or more spatial frequencies.
 13. Theproduct of claim 11, wherein the instructions, when executed, cause thecomputing device to determine existence of said cylindrical axis basedat least on an angle of a sharpest portion of said spatial frequencies.14. The product of claim 1, wherein the instructions, when executed,cause the computing device to determine a cylindrical axis of said lensbased on a comparison between one or more spatial elements of saidobject and one or more imaged spatial elements in said image.
 15. Theproduct of claim 14, wherein the instructions, when executed, cause thecomputing device to process a plurality of images corresponding to aplurality of rotations of said spatial elements in a plurality ofangles, to determine a plurality of magnifications between said one ormore spatial elements of said object and said one or more imaged spatialelements, and to determine said cylindrical axis based on saidmagnifications.
 16. The product of claim 1, wherein the instructions,when executed, cause the computing device to determine the one or moreoptical parameters of said lens based on an estimated distance betweensaid lens and the image-capturing device, when said image is captured.17. The product of claim 1, wherein the instructions, when executed,cause the computing device to determine the estimated distance betweensaid object and said image-capturing device, based on accelerationinformation indicating an acceleration of said image-capturing device.18. The product of claim 1, wherein the instructions, when executed,cause the computing device to determine a cylindrical power of said lensbased on a cylindrical axis of said lens.
 19. The product of claim 1,wherein the instructions, when executed, cause the computing device todetermine a pupillary distance between said lens and an other lens ofsaid eyeglasses based at least on the captured image.
 20. The product ofclaim 1, wherein the instructions, when executed, cause the computingdevice to determine a sign of said lens based at least on said capturedimage.
 21. The product of claim 20, wherein the instructions, whenexecuted, cause the computing device to identify a movement pattern in aplurality of captured images, the plurality of captured imagescomprising images of said object captured via said lens during relativemovement between the lens and the image capturing device in a particulardirection, and to determine the sign of said lens based on said movementpattern.
 22. The product of claim 1, wherein the instructions, whenexecuted, cause the computing device to determine the one or moreoptical parameters of said lens based on a single frame captured by theimage-capturing device, the single frame including said image of saidobject via said lens.
 23. The product of claim 1, wherein the one ormore optical parameters of said lens comprise one or more parametersselected form the group consisting of a spherical power, a cylindricalpower, a cylindrical axis, and a pupillary distance between lenses ofsaid eyeglasses.
 24. The product of claim 1, wherein the instructions,when executed, cause the computing device to cause a display device todisplay said object.
 25. The product of claim 1, wherein the objectcomprises a circularly symmetric or rotationally symmetric object. 26.The product of claim 1, wherein the instructions, when executed, causethe computing device to cause the image-capturing device to capture theimage of said obj ect.
 27. An apparatus comprising: an image-capturingdevice to capture an image of an object via a lens of eyeglasses whensaid lens is between the image-capturing device and the object; and aprocessor configured to provide an output based on one or more opticalparameters of said lens by: determining an estimated distance, theestimated distance is between the object and the image-capturing devicewhen the image of the object is captured by the image-capturing device;determining a calculated magnification based on a dimension of theobject and an imaged dimension of the object in the image; anddetermining the one or more optical parameters of said lens based onsaid estimated distance and said calculated magnification.
 28. Theapparatus of claim 27, wherein the processor is configured to process animage of a graphical display comprising a first object and a secondobject, the image of the graphical display comprising a first image ofthe first object captured by the image-capturing device via the lens,and a second image of the second object captured by the image-capturingdevice not via the lens, and wherein the processor is configured todetermine the calculated magnification based on a dimension of the firstobject and an imaged dimension of the first object in the first image,and to determine the estimated distance by determining an estimateddistance between the image-capturing device and the graphical displaybased on the second image of the second object.
 29. The apparatus ofclaim 27, wherein the processor is configured to determine the one ormore optical parameters of said lens based on an estimated distancebetween said lens and the image-capturing device, when said image iscaptured.
 30. An apparatus comprising: means for processing an image ofan object captured by an image-capturing device via a lens of eyeglasseswhen said lens is between the image-capturing device and the object;means for determining an estimated distance, the estimated distance isbetween the object and the image-capturing device when the image of theobject is captured by the image-capturing device; means for determininga calculated magnification based on a dimension of the object and animaged dimension of the object in the image; means for determining oneor more optical parameters of said lens based on said estimated distanceand said calculated magnification; and means for providing an outputbased on the one or more optical parameters of said lens.
 31. Theapparatus of claim 30 comprising means for processing an image of agraphical display comprising a first object and a second object, theimage of the graphical display comprising a first image of the firstobject captured by the image-capturing device via the lens, and a secondimage of the second object captured by the image-capturing device notvia the lens, and means for determining the calculated magnificationbased on a dimension of the first object and an imaged dimension of thefirst object in the first image, and determining the estimated distanceby determining an estimated distance between the image-capturing deviceand the graphical display based on the second image of the secondobject.